Get a Formatted Label

{ getLabel }

Retrieve a formatted label for a given data point. The label value will be taken from the Label drop zone if it exists. Otherwise, it will be taken from the Values Drop zone.

Method
getLabel(dataPoint: number[]): string

Arguments

dataPoint: number []

  • The data point to retrieve label value for.

Returns

string

  • A formatted label value.